package com.antdesignbackend.backend.form.farmersDaily.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.Data;

/**
 * 养殖场(户)日常巡查记录
 *
 * @author 林宇杰
 * @email farmersDaily
 * @date 2020-08-10 17:44:59
 */

@Data
@TableName(value = "t_farmersdaily")
public class FarmersDaily implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId(value = "Id",type = IdType.AUTO)
	private Integer id;

	//巡查日期
	@TableField(value = "InspectionDate")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date inspectionDate;
	//被巡查对象名称
	@TableField(value = "InspectionName")
	private String inspectionName;
	//被巡查对id
	@TableField(value = "InspectionId")
	private Integer inspectionId;
	//地址
	@TableField(value = "Address")
	private String address;
	//联系电话
	@TableField(value = "Phone")
	private String phone;
	//饲养畜禽种类
	@TableField(value = "AnimalType")
	private String animalType;
	//种公畜禽存栏数
	@TableField(value = "Male")
	private Integer male;
	//经产母畜禽存栏数
	@TableField(value = "Menstruation")
	private Integer menstruation;
	//后备母畜禽存栏数
	@TableField(value = "Reserve")
	private Integer reserve;
	//商品母畜禽存栏数
	@TableField(value = "Shop")
	private Integer shop;
	//现场畜禽存栏数是否与养殖档案记录相符
	@TableField(value = "Consistent")
	private String consistent;
	//是否取得《动物防疫条件合格证》
	@TableField(value = "Certificate")
	private String certificate;
	//饲养动物是否健康
	@TableField(value = "Healthy")
	private String healthy;
	//养殖档案简历情况
	@TableField(value = "Archives")
	private String archives;
	//强制免疫计划落实情况
	@TableField(value = "Implementation")
	private String implementation;
	//状态，0未通过，1通过，2审批中，3驳回
	@TableField(value = "Types")
	private Integer types;
	//创建人
	@TableField(value = "CreateBy")
	private Integer createBy;
	//创建时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField(value = "CreateTime")
	private Date createTime;
	//企业ID
	@TableField(value = "Eid")
	private Integer eid;
	//养殖档案简历情况
	@TableField(value = "OtherThing")
	private String otherThing;
	//巡查人员签字
	@TableField(value = "InspectionPerson")
	private String inspectionPerson;
	//被巡查人员签字
	@TableField(value = "ToInspectionPerson")
	private String toInspectionPerson;
}
